def build_profile(first, last, **user_info): # **user_info创建一个空字典，并将接收到的键值对全部放入该字典中
    user_info['first_name'] = first
    user_info['last_name'] = last
    return user_info

user_profile = build_profile('albert', 'einstein', location='princeton', field='physics') # 故先传入location和field
print(user_profile)